<?xml version="1.0"?>
<recipe>

	<#include "../common/recipe_manifest.xml.ftl" />

	<dependency mavenUrl="com.zxn.presenter:PresenterLib:+"/>

	<dependency mavenUrl="com.zxn.titleview:TitleView:+"/>

	<dependency mavenUrl="com.zxn.tablayout:expand-tablayout:+"/>

    <copy from="root/res/drawable-xxhdpi"
        to="${escapeXmlAttribute(resOut)}/drawable-xxhdpi" />

    <merge from="../common/root/res/values/dimens.xml.ftl"
    	to="${escapeXmlAttribute(resOut)}/values/dimens.xml" />

    <merge from="../common/root/res/values/colors.xml.ftl"
    	to="${escapeXmlAttribute(resOut)}/values/colors.xml" />
	
	<open file="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" />

    <instantiate from="root/res/layout/activity_home.xml.ftl"
               to="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" /> 
    
    <instantiate from="root/src/app_package/SimpleActivity.java.ftl"
                   to="${escapeXmlAttribute(srcOut)}/${activityClass}.java" />
    <instantiate from="root/src/app_package/entity/TabEntity.java.ftl"
                   to="${escapeXmlAttribute(srcOut)}/entity/TabEntity.java" />
    <open file="${escapeXmlAttribute(srcOut)}/${activityClass}.java" />

</recipe>

